package com.zvipz.ss.diamonds.bas.gateway.feignei;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "BAS-USERAUTH-SERVER", path = "/ac")
@RequestMapping("/oauth")
public interface AuthInterface {

	@GetMapping("/check_token")
	public AuthInfo checkToken (@RequestParam("token") String token);

}
